// express
const express = require('express');

const app = express();

app.get('/api', (req, res) => {
  res.json({ key: 'value' });
});

app.listen(3000, 'localhost');
